package config

import (
	"gitee.com/yanxinfire/geektime-week2-error/pkg/utils/db"
)

var (
	dbcli = db.NewDB(
		"127.0.0.1",
		"yx",
		"oracle",
		db.WithDatabase("test"),
	)
	srvAddr = ":8888"
)

var Config = struct {
	DB         *db.DBClient
	ServerAddr string
}{
	DB:         dbcli,
	ServerAddr: srvAddr,
}
